<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>8-pageshow事件</title>
	</head>
	<body>
		<script type="text/javascript">
			window.addEventListener('pageshow',function(){
				alert(123);
			});
			//页面加载完成之后执行(里面的方法)
			window.addEventListener('load',function(){
				
			});
		</script>
	</body>
</html>
